<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			function show(){
				var $uid=uid.value;
				if(!$uid){alert("请输入正确的id");return;}
				var xhr=new XMLHttpRequest();
				 xhr.onreadystatechange=function(){
					 if(xhr.readyState==4 && xhr.status==200){
						 var r=xhr.responseText;
						 d1.innerHTML=r;
					 }
				 }
				 xhr.open("delete",`/pro/v1/del/${$uid}`,true);
				 xhr.send();
			}
		</script>
	</head>
	<body>
		<input type="text" id="uid">
		<button onclick="show()">删除用户</button>
		<div id="d1">
			
		</div>
	</body>
</html>
